home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1599 / 1292 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.9 KB

  1. Subject: Re: sending signals from xdd's
  2. Date: Tue, 19 Apr 94 19:13:16 CDT
  3. From: Juergen Lock <nox@jelal.north.de>
  4. In-Reply-To: <9404181313.AA15886@hera.rbi.informatik.uni-frankfurt.de>; from "Kay Roemer" at Apr 18, 94 3:13 pm
  5. Message-Id: <9404191713.AA00545@jelal.north.de>
  6.  
  7. Kay Roemer writes:
  8.  
  9. > While implementing TCP for MintNet, I came across the following
  10. > problem:
  11. > TCP provides for delivery of out-of-band or urgent data. When
  12. > urgent data arrives on a socket, the process which is the owner
  13. > of the socket (this concept of the sockets owner is much like
  14. > the one used for terminals), must be signaled that urgent data
  15. > has arrived.
  16. > Usually Unixes do this by
  17. > 1) sending this sockets owner a SIGURG signal and
  18. > 2) waking up any processes seleting for exceptional conditions
  19. >    on this socket.
  20. > The 2nd is impossible under MiNT, because Fselect() doesn't
  21. > currently support selecting for exceptional conditions.
  22.  
  23.  unless its the one that also gets the signal, then it should wake up
  24. because of that...
  25. > The 1st would require a device driver to be able to send signals
  26. > to ANY process, even if the current process' effective UID is
  27. > not zero and different from the effective UID of the process that
  28. > should be signaled.
  29. > Currently the only possibility I see to do the 1st is to fork a
  30. > new process (much like minixfs and modm0dev do) that is used to
  31. > send signals.
  32. > Is there another way (without a different process) to signal
  33. > different processes from a device driver?
  34.  
  35.  addroottimeout?
  36. > Perhaps (as Juergen suggested some time ago) post_sig() should be
  37. > made available for device drivers through struct kerinfo?
  38.  
  39.  hmm which one takes longer worst case, post_sig or addroottimeout?
  40. u know i'm thinking of ipl6 and receiver overruns again... :)
  41.  
  42.  cheers
  43.     Juergen
  44. -- 
  45. J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
  46.                                 ...ohne Gewehr
  47. PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA 
  48.